﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucSearchHostFiles.ascx.cs" Inherits="WCrawler.Controls.ucSearchHostFiles" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %>
<style type="text/css">

        .style2
        {
            width: 129px;
            height: 18px;
        }
        .style3
        {
            height: 18px;
        }
        .style1
        {
            width: 129px;
        }
        </style>
    
    <div>
        <asp:Label ID="Label1" runat="server" Text="Search in Folder"></asp:Label>
    <asp:TextBox ID="txtFolderName" runat="server" Width="300px"></asp:TextBox>
    </div>
    <table style="width:100%;">
        <tr>
            <td class="style2">
                Email</td>
            <td class="style3">
    <asp:TextBox ID="txtEmail" runat="server" Width="198px"></asp:TextBox>
            </td>
            <td class="style3">
            </td>
        </tr>
        <tr>
            <td class="style1">
                Username</td>
            <td>
    <asp:TextBox ID="txtUsername" runat="server" Width="198px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style1">
                Password</td>
            <td>
    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="197px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <asp:Button ID="btnSearchFiles" runat="server" 
    onclick="btnSearchFiles_Click" Text="Search Files" />
<asp:GridView ID="GridView1" runat="server" 
    Width="100%" AutoGenerateColumns="false">
    <Columns>
        <asp:TemplateField HeaderText="Host" SortExpression="Host">
        <ItemTemplate>
        <asp:Label ID="lblHost" runat="server" Text='<%#Eval("Host") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Files" SortExpression="Files">
        <ItemTemplate>
        <asp:Label ID="lblFiles" runat="server" Text='<%#Eval("Files") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
